﻿using My.Admin.Dto.System;
using My.Admin.Model.System;
using My.Core.DynamicProxy;
using My.Core.Service.IService;

namespace My.Admin.Service.System.IService
{
	public interface ISysRoleMenuService : IBaseService<SysRoleMenu>, ITransientAutoInject
	{
		public Task<List<long>> GetRoleMenuIdList(List<long> roleIdList);
		public Task GrantRoleMenu(RoleMenuInput input);
		public Task DeleteRoleMenuByRoleId(long roleId);

		public Task DeleteRoleMenuByMenuIdList(List<long> menuIdList);
	}
}
